"""
@Author: li
@Email: lijianqiao2906@live.com
@FileName: file.py
@DateTime: 2025-06-18
@Docs: 文件导入导出相关的数据模型
"""

from pydantic import BaseModel, Field


class FileImportResponse(BaseModel):
    """文件导入结果响应模型"""

    total_rows: int = Field(..., description="文件总行数")
    success_rows: int = Field(..., description="成功导入行数")
    skipped_rows: int = Field(0, description="跳过行数")
    message: str = Field(default="文件导入成功", description="结果消息")
